package com.atguigu.tingshu.search.service;

import com.atguigu.tingshu.query.search.AlbumIndexQuery;
import com.atguigu.tingshu.vo.album.AlbumStatVoMsg;
import com.atguigu.tingshu.vo.search.AlbumInfoDetailVo;
import com.atguigu.tingshu.vo.search.AlbumInfoIndexSearchVo;
import com.atguigu.tingshu.vo.search.AlbumInfoIndexVo;
import com.atguigu.tingshu.vo.search.AlbumSearchResponseVo;

import java.util.List;

public interface SearchService {

    //上架专辑
    void upperAlbum(Long albumId);

    //下架专辑
    void lowerAlbum(Long albumId);

    //专辑列表搜索
    AlbumSearchResponseVo search(AlbumIndexQuery albumIndexQuery);
    //获取频道页数据
    List<AlbumInfoIndexSearchVo> channel(Long category1Id);
    //关键字自动补全
    List<String> completeSuggest(String keyword);


    //更新排行榜数据
    void updateLatelyAlbumRanking();

    //获取排行榜数据
    List<AlbumInfoIndexVo> findRankingList(Long category1Id, String dimension);

    //专辑统计数据更新
    void updateAlbumStat(AlbumStatVoMsg albumStatVoMsg);
}
